<html lang="en">
<head>
    <title>仓储管理系统</title>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">

    <%if (compressed) { %>
        <link href="js/lib/font-awesome/css/font-awesome.min.css" type="text/css" rel="stylesheet"/>
        <link href="css/bootstrap.min.css" type="text/css" rel="stylesheet"/>
        <link href="js/lib/layui/css/layui.css" type="text/css" rel="stylesheet"/>
        <link href="js/lib/ztree/zTreeStyle.min.css" type="text/css" rel="stylesheet"/>
        <link href="js/lib/ngDialog/ngDialog.min.css" type="text/css" rel="stylesheet"/>
        <link href="js/lib/ngDialog/ngDialog-theme-default.min.css" type="text/css" rel="stylesheet"/>
        <link href="js/lib/ui-select/select.min.css" type="text/css" rel="stylesheet"/>
        <link href="js/lib/iconfont/iconfont.min.css" type="text/css" rel="stylesheet"/>
        <link href="css/ils-wms-web.min.css" type="text/css" rel="stylesheet"/>
    <%} else { %>
        <link href="js/lib/font-awesome/css/font-awesome.min.css" type="text/css" rel="stylesheet"/>
        <link href="css/bootstrap.min.css" type="text/css" rel="stylesheet"/>
        <link href="js/lib/layui/css/layui.css" type="text/css" rel="stylesheet"/>
        <link href="js/lib/ztree/zTreeStyle.min.css" type="text/css" rel="stylesheet"/>
        <link href="css/wms.css" type="text/css" rel="stylesheet"/>
        <link href="css/kas.css" type="text/css" rel="stylesheet"/>
        <link href="js/lib/iconfont/iconfont.css" type="text/css" rel="stylesheet"/>
        <link href="js/lib/ngDialog/ngDialog.min.css" type="text/css" rel="stylesheet"/>
        <link href="js/lib/ngDialog/ngDialog-theme-default.min.css" type="text/css" rel="stylesheet"/>
        <link href="js/lib/ui-select/select.min.css" type="text/css" rel="stylesheet"/>
    <% } %>
</head>
<body ng-app="wmsApp" ng-cloak ng-controller="wmsAppCtrl" style="height: 100%">
    <div class="layui-layout layui-layout-admin" style="height: 100%">
        <%if (devView) { %>
            <div ng-if="!bigScreenFlag" class="layui-header header circle">
                <div class="layui-main" style="margin: 0;">
                    <a href="javascript:;">
                        <img src="images/logo.svg" style="padding-left: 33px; padding-top: 11px;">
                        <!--<img src="images/logo_hui_1.png" style="padding-left: 33px; padding-top: 8px;width: 134px;">-->
                    </a>
                    <ul class="layui-nav kas-nav-left-header" lay-filter="nav_left_menu">
                        <li class="layui-nav-item" ng-class="{true: 'layui-this layui-this-nav'}[item.default == true]" ng-repeat="item in navList track by $index">
                            <a href="javascript:;" style="font-size: 16px;" ng-bind="item.title"></a>
                        </li>
                    </ul>
                    <ul class="layui-nav kas-nav-right-header" lay-filter="nav_right_menu">
                        <li class="layui-nav-item"><span ng-bind="userInfo.name + '(' + userInfo.whName + ')'" ></span></li>
                        <li class="layui-nav-item">
                            <a href="javascript:;" ng-click="logOut()" title="注销">
                                <i class="fa fa-sign-out" aria-hidden="true"></i>
                            </a>
                        </li>
                    </ul>
                </div>
            </div>
            <div ng-if="!bigScreenFlag" class="layui-side layui-bg-black">
                <div class="layui-side-scroll">
                    <ul class="layui-nav layui-nav-tree">
                        <li class="layui-nav-item" ng-class="{true: 'layui-nav-itemed'}[item.default == true]" ng-repeat="item in menuList track by $index">
                            <a href="javascript:void(0);" ng-bind="item.title"></a>
                            <dl class="layui-nav-child">
                                <dd class="" ng-repeat="menu in item.children track by $index">
                                    <a href="javascript:;" ng-click="active.tabAdd(menu.id, menu.title, '', menu.href)" ng-bind="menu.title"></a>
                                </dd>
                            </dl>
                        </li>
                    </ul>
                </div>
            </div>
            <div ng-if="!bigScreenFlag" class="layui-body">
                <div class="layui-tab" lay-filter="tab_kas" style="margin-top: 2px;">
                    <ul class="layui-tab-title" style="left: 2px;">
                        <li class="layui-this" lay-id="1">
                            <span id="11" ui-sref="index">首页</span>
                            <i class="layui-icon layui-unselect layui-tab-close"></i>
                        </li>
                    </ul>
                    <div class="layui-tab-content">
                        <div class="layui-tab-item layui-show">
                            <div ui-view></div>
                        </div>
                    </div>
                </div>
            </div>
            <div ng-if="bigScreenFlag" class="layui-body" style="position:initial;">
            <div class="layui-tab" lay-filter="tab_kas" style="margin-top: 2px;height: 100%">
                <div class="layui-tab-content" style="height: 100%">
                    <div class="layui-tab-item layui-show">
                        <div ui-view></div>
                    </div>
                </div>
            </div>
        </div>
        <%} else {%>
            <div class="layui-body" style="position:initial;">
                <div class="layui-tab" lay-filter="tab_kas" style="margin-top: 2px;">
                    <div class="layui-tab-content">
                        <div class="layui-tab-item layui-show">
                            <div ui-view></div>
                        </div>
                    </div>
                </div>
            </div>
        <%}%>
        <script type="text/javascript">
            var contextPath = "<%=host%>";
        </script>

        <script src="js/lib/layui/layui.js" type="text/javascript"></script>
        <script src="js/lib/jquery/jquery-1.9.1.min.js" type="text/javascript"></script>
        <script src="js/lib/jquery/jquery-form.min.js" type="text/javascript"></script>
        <script src="js/lib/layer/2.4/layer.js" type="text/javascript"></script>
        <script src="js/lib/angular/angular.min.js" type="text/javascript"></script>
        <script src="js/lib/angular-ui-router/angular-ui-router.min.js" type="text/javascript"></script>
        <script src="js/lib/ngDialog/ngDialog.min.js" type="text/javascript"></script>
        <script src="js/lib/restangular/restangular.min.js" type="text/javascript"></script>
        <script src="js/lib/ui-select/select.min.js" type="text/javascript"></script>
        <script src="js/lib/underscore/underscore.min.js" type="text/javascript"></script>
        <script src="js/lib/ztree/jquery.ztree.all.min.js" type="text/javascript"></script>
        <script src="js/lib/angular-cookies/angular-cookies.min.js" type="text/javascript"></script>
        <script src="js/lib/lodop/LodopFuncs.min.js" type="text/javascript"></script>
        <script src="js/lib/angular-file-upload/angular-file-upload.min.js" type="text/javascript"></script>
        <script src="js/lib/echart/echarts-3.7.2.js" type="text/javascript"></script>
        <script src="js/lib/exportExcel/exportExcel.js" type="text/javascript"></script>
        <!-- Lib End -->

        <%if (compressed) { %>
            <script src="js/build/ils-wms-web.min.js?v=<%=version %>" type="text/javascript"></script>
            <script src="js/build/ils-wms-web.tmpl.js?v=<%=version %>" type="text/javascript"></script>
        <%} else { %>
            <!-- Ctrl Begin-->
            <script src="/js/wms-config.js" type="text/javascript"></script>
            <script src="js/wms-service.js" type="text/javascript"></script>
            <script src="js/wms-controllers.js" type="text/javascript"></script>
            <script src="js/wms-tools.js" type="text/javascript"></script>
            <script src="js/wms-filter.js" type="text/javascript"></script>
            <script src="js/wms-constant.js" type="text/javascript"></script>
            <script src="js/wms-directive.js" type="text/javascript"></script>
            <script src="js/ctrl/a.ctrl.js" type="text/javascript"></script>
            <script src="js/ctrl/b.ctrl.js" type="text/javascript"></script>
            <script src="js/ctrl/c.ctrl.js" type="text/javascript"></script>
            <script src="js/ctrl/d.ctrl.js" type="text/javascript"></script>
            <script src="js/ctrl/e.ctrl.js" type="text/javascript"></script>
            <script src="js/ctrl/f.ctrl.js" type="text/javascript"></script>
            <script src="js/ctrl/g.ctrl.js" type="text/javascript"></script>
            <script src="js/ctrl/h.ctrl.js" type="text/javascript"></script>
            <script src="js/ctrl/i.ctrl.js" type="text/javascript"></script>
            <script src="js/ctrl/j.ctrl.js" type="text/javascript"></script>
            <script src="js/ctrl/k.ctrl.js" type="text/javascript"></script>
            <script src="js/ctrl/l.ctrl.js" type="text/javascript"></script>
            <script src="js/ctrl/m.ctrl.js" type="text/javascript"></script>
            <script src="js/ctrl/n.ctrl.js" type="text/javascript"></script>
            <script src="js/ctrl/o.ctrl.js" type="text/javascript"></script>
            <script src="js/ctrl/p.ctrl.js" type="text/javascript"></script>
            <script src="js/ctrl/q.ctrl.js" type="text/javascript"></script>
            <script src="js/ctrl/r.ctrl.js" type="text/javascript"></script>
            <script src="js/ctrl/s.ctrl.js" type="text/javascript"></script>
            <script src="js/ctrl/t.ctrl.js" type="text/javascript"></script>
            <script src="js/ctrl/u.ctrl.js" type="text/javascript"></script>
            <script src="js/ctrl/v.ctrl.js" type="text/javascript"></script>
            <script src="js/ctrl/w.ctrl.js" type="text/javascript"></script>
            <script src="js/ctrl/x.ctrl.js" type="text/javascript"></script>
            <script src="js/ctrl/y.ctrl.js" type="text/javascript"></script>
            <script src="js/ctrl/z.ctrl.js" type="text/javascript"></script>
        <% } %>
    </div>
</body>
</html>